package com.lframework.xingyun.basedata.vo.product.unit;

import lombok.Data;
import java.math.BigDecimal;
import com.lframework.starter.web.core.vo.PageVo;
import com.lframework.starter.web.core.vo.BaseVo;
import com.lframework.starter.web.core.components.validation.TypeMismatch;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

@Data
public class QueryProductAssistantUnitVo extends PageVo implements BaseVo, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主商品id
     */
    @ApiModelProperty("主商品id")
    private String productId;

    /**
     * 辅助单位id
     */
    @ApiModelProperty("辅助单位id")
    private String assistantUnitId;

    /**
     * 单位数值
     */
    @ApiModelProperty("单位数值")
    @TypeMismatch(message = "单位数值格式有误！")
    private BigDecimal unitVal;

}

